package com.rpoonolly.simplegame.editor;

import com.rpoonolly.simplegame.core.aabb.AABBEntity;
import com.rpoonolly.simplegame.renderer.SimpleSwingRenderer;

public class CursorRenderer extends SimpleSwingRenderer {
	private AABBEntity focus;
	
	public CursorRenderer(AABBEntity focus) {
		this.focus = focus; 
	}

	@Override
	public void render() {
		setFocalPoint(focus);
		graphics.drawRect((int) focalPoint.x, (int) focalPoint.y, 1, 1);
	}

}
